#ifndef ETHERCAT_WORKER_SERVER_H
#define ETHERCAT_WORKER_SERVER_H

#include <boost/asio/io_service.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/shared_array.hpp>

class ConfigData;
class MotionTaskQueue;
class RealTimeData;

class EthercatWorker
{
public:
    EthercatWorker();
    ~EthercatWorker();

    void init();
    void run();
    void stop();

private:

private:
    bool isRun;

    ConfigData* cfg;
	MotionTaskQueue* taskQueue;
	RealTimeData* realtimeData;
};


#endif